package com.example.demo.service.impl;

import com.example.demo.dao.ProjectMapper;
import com.example.demo.entity.Project;
import com.example.demo.entity.ProjectExample;
import com.example.demo.service.ProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by guyaling on 2018/6/6.
 */
@Service
public class ProjectServiceImpl implements ProjectService{

  @Autowired
  ProjectMapper projectMapper;
  @Override
  public List<Project> list() {
    return projectMapper.selectByExample(new ProjectExample());
  }
}


